/*
 * @(#)NoticeBO.java $version 2013-3-1
 * 
 * Copyright 2013 NADO Group. All rights Reserved.
 * NADO PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.nado.iims2.community.bo;

import java.util.List;

import com.nado.extensions.util.DataMap;
import com.nado.iims2.community.model.NoticeModel;

/**
 * The Class NoticeBO.
 * 
 * @author nado
 */
public interface NoticeBO {
	/**
	 * Gets notice list.
	 * 
	 * @param typeCd
	 * @param offset
	 * @param count
	 * @return
	 */
	List<DataMap> getNoticeList(String startDate, String endDate, String typeCd, int offset, int count);
	/**
	 * Gets notice list total.
	 * 
	 * @param typeCd
	 * @return
	 */
	int getNoticeListCount(String startDate, String endDate, String typeCd);
	
	/**
	 * Get a notice detail. 
	 * 
	 * @param noticeNo
	 * @return
	 */
	NoticeModel getNoticeDetail(int noticeNo);
	
	/**
	 * Write notice info.
	 * 
	 * @param model
	 * @return
	 */
	int writeNotice(NoticeModel model);
	/**
	 * Remove notice info.
	 * 
	 * @param model
	 * @return
	 */
	int removeNotice(int noticeNo);
}
